cmake_minimum_required(VERSION 3.31)

project(leveldb_test)

add_subdirectory(../cutils ${CMAKE_CURRENT_BINARY_DIR}/cutils)

find_package(Threads REQUIRED)
find_package(leveldb REQUIRED)

add_executable(leveldb_test leveldb_test.cpp)

target_link_libraries(leveldb_test leveldb::leveldb cutils)
